The CLiP Style of Literate Programming
نویسندگان
چکیده
Literate programming is a method to integrate programs with their documentation. Compilable modules are no separate entities, but they are extracted from the documentation. Most literate programming tools use explicit commands in the formatter input files to guide the extraction process. The CLiP approach presented in this paper relies on coding style instead. This makes the code extraction completely independent of the text processing environment. Thus CLiP can even be used in combination with a modern wordprocessor. In addition the CLiP mechanism is independent of programming languages as well, and the CLiP style is easily adapted to any language.
منابع مشابه
CLiP, a universal literate programming tool
CLiP (Code from Literate Program) is a tool which allows writing literate programs in virtually any programming language (Pascal, Fortran, C, C++, Assembler languages, etc) and in combination with almost any formatter (Runoff, Troff, TeX, LaTeX, etc.) or word-processor (Winword, Lotus Manuscript, Ami Pro, Word Perfect, Wordstar, etc). This posting explains the CLiP philosophy and compares it to...
متن کاملLiterate Programming to Enhance Agile Methods
In this position paper, after explaining the essentials of literate programming, we argue that a literate programming style is consistent with the values espoused by agile software development; and that the application of literate programming in the context of an agile software development methodology is likely to enhance both the quality and lifespan of the final product.
متن کاملLiterate Programming, A Practioner’s View
I have been using the WEB style of Literate Programming since my first efforts to port TEX to the Data General AOS system. When I looked back at those efforts, the work in porting drivers that were not written in WEB and the writing of drivers in WEB (based upon DVITYPE, of course), the value of this method of programming became evident. I have concentrated my research (and some teaching) effor...
متن کاملThe Elements of Style - Literate Programming
The practitioner of literate programming can be regarded as an essayist, whose main concern is with exposition and excellence of style. Such an author, with thesaurus in hand, chooses the names of variables carefully and explains what each variable means. He or she strives for a program that is comprehensible because its concepts have been introduced in an order that is best for human understan...
متن کاملAlgorithms and literate programs for weighted low-rank approximation with missing data
Linear models identification from data with missing values is posed as a weighted low-rank approximation problem with weights related to the missing values equal to zero. Alternating projections and variable projections methods for solving the resulting problem are outlined and implemented in a literate programming style, using Matlab/Octave’s scripting language. The methods are evaluated on sy...
متن کامل